package com.att.service.impl;

import com.att.bean.CheckExactBean;
import com.att.dao.CheckExactDaoMapper;
import com.att.service.CheckExactService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("checkExactService")
public class CheckExactServiceImpl implements CheckExactService {

    @Resource
    private CheckExactDaoMapper checkExactDaoMapper;

    @Override
    public List<CheckExactBean> findExactBeanList(CheckExactBean bean) {
        return checkExactDaoMapper.findExactBeanList(bean);
    }

    @Override
    public boolean insert(CheckExactBean bean) {
        return checkExactDaoMapper.insert(bean);
    }

    @Override
    public List<CheckExactBean> findByCondition(CheckExactBean bean) {
        return checkExactDaoMapper.findByCondition(bean);
    }

    @Override
    public long findByConditionCount(CheckExactBean bean) {
        return checkExactDaoMapper.findByConditionCount(bean);
    }
}
